rsa 58 source4/heimdal/lib/hcrypto/engine.c const RSA_METHOD *rsa; rsa 112 source4/heimdal/lib/hcrypto/engine.c engine->rsa = method; rsa 145 source4/heimdal/lib/hcrypto/engine.c return engine->rsa; rsa 157 source4/heimdal/lib/hcrypto/rsa-imath.c unsigned char* to, RSA* rsa, int padding) rsa 167 source4/heimdal/lib/hcrypto/rsa-imath.c size = RSA_size(rsa); rsa 172 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&n, rsa->n); rsa 173 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&e, rsa->e); rsa 226 source4/heimdal/lib/hcrypto/rsa-imath.c unsigned char* to, RSA* rsa, int padding) rsa 236 source4/heimdal/lib/hcrypto/rsa-imath.c if (flen > RSA_size(rsa)) rsa 239 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&n, rsa->n); rsa 240 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&e, rsa->e); rsa 273 source4/heimdal/lib/hcrypto/rsa-imath.c assert(size <= RSA_size(rsa)); rsa 298 source4/heimdal/lib/hcrypto/rsa-imath.c unsigned char* to, RSA* rsa, int padding) rsa 304 source4/heimdal/lib/hcrypto/rsa-imath.c int blinding = (rsa->flags & RSA_FLAG_NO_BLINDING) == 0; rsa 309 source4/heimdal/lib/hcrypto/rsa-imath.c size = RSA_size(rsa); rsa 324 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&n, rsa->n); rsa 325 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&e, rsa->e); rsa 343 source4/heimdal/lib/hcrypto/rsa-imath.c if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { rsa 346 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&p, rsa->p); rsa 347 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&q, rsa->q); rsa 348 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&dmp1, rsa->dmp1); rsa 349 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&dmq1, rsa->dmq1); rsa 350 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&iqmp, rsa->iqmp); rsa 362 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&d, rsa->d); rsa 396 source4/heimdal/lib/hcrypto/rsa-imath.c unsigned char* to, RSA* rsa, int padding) rsa 402 source4/heimdal/lib/hcrypto/rsa-imath.c int blinding = (rsa->flags & RSA_FLAG_NO_BLINDING) == 0; rsa 407 source4/heimdal/lib/hcrypto/rsa-imath.c size = RSA_size(rsa); rsa 414 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&n, rsa->n); rsa 415 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&e, rsa->e); rsa 434 source4/heimdal/lib/hcrypto/rsa-imath.c if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { rsa 437 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&p, rsa->p); rsa 438 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&q, rsa->q); rsa 439 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&dmp1, rsa->dmp1); rsa 440 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&dmq1, rsa->dmq1); rsa 441 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&iqmp, rsa->iqmp); rsa 457 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&d, rsa->d); rsa 527 source4/heimdal/lib/hcrypto/rsa-imath.c imath_rsa_generate_key(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb) rsa 601 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->e = mpz2BN(&el); rsa 602 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->p = mpz2BN(&p); rsa 603 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->q = mpz2BN(&q); rsa 604 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->n = mpz2BN(&n); rsa 605 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->d = mpz2BN(&d); rsa 606 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->dmp1 = mpz2BN(&dmp1); rsa 607 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->dmq1 = mpz2BN(&dmq1); rsa 608 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->iqmp = mpz2BN(&iqmp); rsa 628 source4/heimdal/lib/hcrypto/rsa-imath.c imath_rsa_init(RSA *rsa) rsa 634 source4/heimdal/lib/hcrypto/rsa-imath.c imath_rsa_finish(RSA *rsa) rsa 87 source4/heimdal/lib/hcrypto/rsa.c RSA *rsa; rsa 89 source4/heimdal/lib/hcrypto/rsa.c rsa = calloc(1, sizeof(*rsa)); rsa 90 source4/heimdal/lib/hcrypto/rsa.c if (rsa == NULL) rsa 93 source4/heimdal/lib/hcrypto/rsa.c rsa->references = 1; rsa 97 source4/heimdal/lib/hcrypto/rsa.c rsa->engine = engine; rsa 99 source4/heimdal/lib/hcrypto/rsa.c rsa->engine = ENGINE_get_default_RSA(); rsa 102 source4/heimdal/lib/hcrypto/rsa.c if (rsa->engine) { rsa 103 source4/heimdal/lib/hcrypto/rsa.c rsa->meth = ENGINE_get_RSA(rsa->engine); rsa 104 source4/heimdal/lib/hcrypto/rsa.c if (rsa->meth == NULL) { rsa 106 source4/heimdal/lib/hcrypto/rsa.c free(rsa); rsa 111 source4/heimdal/lib/hcrypto/rsa.c if (rsa->meth == NULL) rsa 112 source4/heimdal/lib/hcrypto/rsa.c rsa->meth = rk_UNCONST(RSA_get_default_method()); rsa 114 source4/heimdal/lib/hcrypto/rsa.c (*rsa->meth->init)(rsa); rsa 116 source4/heimdal/lib/hcrypto/rsa.c return rsa; rsa 127 source4/heimdal/lib/hcrypto/rsa.c RSA_free(RSA *rsa) rsa 129 source4/heimdal/lib/hcrypto/rsa.c if (rsa->references <= 0) rsa 132 source4/heimdal/lib/hcrypto/rsa.c if (--rsa->references > 0) rsa 135 source4/heimdal/lib/hcrypto/rsa.c (*rsa->meth->finish)(rsa); rsa 137 source4/heimdal/lib/hcrypto/rsa.c if (rsa->engine) rsa 138 source4/heimdal/lib/hcrypto/rsa.c ENGINE_finish(rsa->engine); rsa 141 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->n); rsa 142 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->e); rsa 143 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->d); rsa 144 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->p); rsa 145 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->q); rsa 146 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->dmp1); rsa 147 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->dmq1); rsa 148 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->iqmp); rsa 151 source4/heimdal/lib/hcrypto/rsa.c memset(rsa, 0, sizeof(*rsa)); rsa 152 source4/heimdal/lib/hcrypto/rsa.c free(rsa); rsa 168 source4/heimdal/lib/hcrypto/rsa.c RSA_up_ref(RSA *rsa) rsa 170 source4/heimdal/lib/hcrypto/rsa.c return ++rsa->references; rsa 184 source4/heimdal/lib/hcrypto/rsa.c RSA_get_method(const RSA *rsa) rsa 186 source4/heimdal/lib/hcrypto/rsa.c return rsa->meth; rsa 201 source4/heimdal/lib/hcrypto/rsa.c RSA_set_method(RSA *rsa, const RSA_METHOD *method) rsa 203 source4/heimdal/lib/hcrypto/rsa.c (*rsa->meth->finish)(rsa); rsa 205 source4/heimdal/lib/hcrypto/rsa.c if (rsa->engine) { rsa 206 source4/heimdal/lib/hcrypto/rsa.c ENGINE_finish(rsa->engine); rsa 207 source4/heimdal/lib/hcrypto/rsa.c rsa->engine = NULL; rsa 210 source4/heimdal/lib/hcrypto/rsa.c rsa->meth = method; rsa 211 source4/heimdal/lib/hcrypto/rsa.c (*rsa->meth->init)(rsa); rsa 227 source4/heimdal/lib/hcrypto/rsa.c RSA_set_app_data(RSA *rsa, void *arg) rsa 229 source4/heimdal/lib/hcrypto/rsa.c rsa->ex_data.sk = arg; rsa 244 source4/heimdal/lib/hcrypto/rsa.c RSA_get_app_data(RSA *rsa) rsa 246 source4/heimdal/lib/hcrypto/rsa.c return rsa->ex_data.sk; rsa 253 source4/heimdal/lib/hcrypto/rsa.c RSA *rsa = rk_UNCONST(key); rsa 263 source4/heimdal/lib/hcrypto/rsa.c if ((rsa->d == NULL || rsa->n == NULL) && rsa 264 source4/heimdal/lib/hcrypto/rsa.c (rsa->p == NULL || rsa->q || rsa->dmp1 == NULL || rsa->dmq1 == NULL || rsa->iqmp == NULL)) rsa 267 source4/heimdal/lib/hcrypto/rsa.c buffer = malloc(RSA_size(rsa)); rsa 272 source4/heimdal/lib/hcrypto/rsa.c rsa, RSA_PKCS1_PADDING); rsa 279 source4/heimdal/lib/hcrypto/rsa.c rsa, RSA_PKCS1_PADDING); rsa 294 source4/heimdal/lib/hcrypto/rsa.c RSA_size(const RSA *rsa) rsa 296 source4/heimdal/lib/hcrypto/rsa.c return BN_num_bytes(rsa->n); rsa 313 source4/heimdal/lib/hcrypto/rsa.c unsigned char *to, unsigned int *tlen, RSA *rsa) rsa 320 source4/heimdal/lib/hcrypto/rsa.c unsigned char *to, unsigned int tlen, RSA *rsa) rsa 354 source4/heimdal/lib/hcrypto/rsa.c null_rsa_init(RSA *rsa) rsa 360 source4/heimdal/lib/hcrypto/rsa.c null_rsa_finish(RSA *rsa) rsa 437 source4/heimdal/lib/hcrypto/rsa.c d2i_RSAPrivateKey(RSA *rsa, const unsigned char **pp, size_t len) rsa 440 source4/heimdal/lib/hcrypto/rsa.c RSA *k = rsa; rsa 479 source4/heimdal/lib/hcrypto/rsa.c i2d_RSAPrivateKey(RSA *rsa, unsigned char **pp) rsa 485 source4/heimdal/lib/hcrypto/rsa.c if (rsa->n == NULL || rsa->e == NULL || rsa->d == NULL || rsa->p == NULL || rsa 486 source4/heimdal/lib/hcrypto/rsa.c rsa->q == NULL || rsa->dmp1 == NULL || rsa->dmq1 == NULL || rsa 487 source4/heimdal/lib/hcrypto/rsa.c rsa->iqmp == NULL) rsa 492 source4/heimdal/lib/hcrypto/rsa.c ret = bn2heim_int(rsa->n, &data.modulus); rsa 493 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->e, &data.publicExponent); rsa 494 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->d, &data.privateExponent); rsa 495 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->p, &data.prime1); rsa 496 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->q, &data.prime2); rsa 497 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->dmp1, &data.exponent1); rsa 498 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->dmq1, &data.exponent2); rsa 499 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->iqmp, &data.coefficient); rsa 529 source4/heimdal/lib/hcrypto/rsa.c i2d_RSAPublicKey(RSA *rsa, unsigned char **pp) rsa 537 source4/heimdal/lib/hcrypto/rsa.c if (bn2heim_int(rsa->n, &data.modulus) || rsa 538 source4/heimdal/lib/hcrypto/rsa.c bn2heim_int(rsa->e, &data.publicExponent)) rsa 86 source4/heimdal/lib/hcrypto/rsa.h int (*init)(RSA *rsa); rsa 87 source4/heimdal/lib/hcrypto/rsa.h int (*finish)(RSA *rsa); rsa 94 source4/heimdal/lib/hx509/crypto.c RSA *rsa; rsa 204 source4/heimdal/lib/hx509/crypto.c RSA *rsa; rsa 212 source4/heimdal/lib/hx509/crypto.c rsa = RSA_new(); rsa 213 source4/heimdal/lib/hx509/crypto.c if (rsa == NULL) { rsa 225 source4/heimdal/lib/hx509/crypto.c rsa->n = heim_int2BN(&pk.modulus); rsa 226 source4/heimdal/lib/hx509/crypto.c rsa->e = heim_int2BN(&pk.publicExponent); rsa 230 source4/heimdal/lib/hx509/crypto.c if (rsa->n == NULL || rsa->e == NULL) { rsa 236 source4/heimdal/lib/hx509/crypto.c tosize = RSA_size(rsa); rsa 245 source4/heimdal/lib/hx509/crypto.c to, rsa, RSA_PKCS1_PADDING); rsa 308 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 386 source4/heimdal/lib/hx509/crypto.c sig->length = RSA_size(signer->private_key.rsa); rsa 396 source4/heimdal/lib/hx509/crypto.c signer->private_key.rsa, rsa 422 source4/heimdal/lib/hx509/crypto.c private_key->private_key.rsa = rsa 424 source4/heimdal/lib/hx509/crypto.c if (private_key->private_key.rsa == NULL) { rsa 443 source4/heimdal/lib/hx509/crypto.c len = i2d_RSAPublicKey(private_key->private_key.rsa, NULL); rsa 464 source4/heimdal/lib/hx509/crypto.c i2d_RSAPublicKey(private_key->private_key.rsa, &pp); rsa 482 source4/heimdal/lib/hx509/crypto.c private_key->private_key.rsa = RSA_new(); rsa 483 source4/heimdal/lib/hx509/crypto.c if (private_key->private_key.rsa == NULL) { rsa 499 source4/heimdal/lib/hx509/crypto.c ret = RSA_generate_key_ex(private_key->private_key.rsa, bits, e, NULL); rsa 521 source4/heimdal/lib/hx509/crypto.c ret = i2d_RSAPrivateKey(key->private_key.rsa, NULL); rsa 539 source4/heimdal/lib/hx509/crypto.c i2d_RSAPrivateKey(key->private_key.rsa, &p); rsa 549 source4/heimdal/lib/hx509/crypto.c return BN_dup(key->private_key.rsa->n); rsa 551 source4/heimdal/lib/hx509/crypto.c return BN_dup(key->private_key.rsa->e); rsa 1166 source4/heimdal/lib/hx509/crypto.c RSA *rsa; rsa 1175 source4/heimdal/lib/hx509/crypto.c rsa = RSA_new(); rsa 1176 source4/heimdal/lib/hx509/crypto.c if (rsa == NULL) { rsa 1185 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 1189 source4/heimdal/lib/hx509/crypto.c rsa->n = heim_int2BN(&pk.modulus); rsa 1190 source4/heimdal/lib/hx509/crypto.c rsa->e = heim_int2BN(&pk.publicExponent); rsa 1194 source4/heimdal/lib/hx509/crypto.c if (rsa->n == NULL || rsa->e == NULL) { rsa 1195 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 1200 source4/heimdal/lib/hx509/crypto.c tosize = RSA_size(rsa); rsa 1203 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 1210 source4/heimdal/lib/hx509/crypto.c to, rsa, RSA_PKCS1_PADDING); rsa 1211 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 1246 source4/heimdal/lib/hx509/crypto.c if (p->private_key.rsa == NULL) { rsa 1252 source4/heimdal/lib/hx509/crypto.c cleartext->length = RSA_size(p->private_key.rsa); rsa 1260 source4/heimdal/lib/hx509/crypto.c p->private_key.rsa, rsa 1620 source4/heimdal/lib/hx509/crypto.c if ((*key)->private_key.rsa) rsa 1621 source4/heimdal/lib/hx509/crypto.c RSA_free((*key)->private_key.rsa); rsa 1622 source4/heimdal/lib/hx509/crypto.c (*key)->private_key.rsa = NULL; rsa 1631 source4/heimdal/lib/hx509/crypto.c if (key->private_key.rsa) rsa 1632 source4/heimdal/lib/hx509/crypto.c RSA_free(key->private_key.rsa); rsa 1633 source4/heimdal/lib/hx509/crypto.c key->private_key.rsa = ptr; rsa 2476 source4/heimdal/lib/hx509/crypto.c RSA *rsa; rsa 2480 source4/heimdal/lib/hx509/crypto.c if (private_key->private_key.rsa == NULL) rsa 2483 source4/heimdal/lib/hx509/crypto.c rsa = private_key->private_key.rsa; rsa 2484 source4/heimdal/lib/hx509/crypto.c if (rsa->d == NULL || rsa->p == NULL || rsa->q == NULL) rsa 2490 source4/heimdal/lib/hx509/crypto.c rsa = RSA_new(); rsa 2491 source4/heimdal/lib/hx509/crypto.c if (rsa == NULL) rsa 2498 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 2501 source4/heimdal/lib/hx509/crypto.c rsa->n = heim_int2BN(&pk.modulus); rsa 2502 source4/heimdal/lib/hx509/crypto.c rsa->e = heim_int2BN(&pk.publicExponent); rsa 2506 source4/heimdal/lib/hx509/crypto.c rsa->d = BN_dup(private_key->private_key.rsa->d); rsa 2507 source4/heimdal/lib/hx509/crypto.c rsa->p = BN_dup(private_key->private_key.rsa->p); rsa 2508 source4/heimdal/lib/hx509/crypto.c rsa->q = BN_dup(private_key->private_key.rsa->q); rsa 2509 source4/heimdal/lib/hx509/crypto.c rsa->dmp1 = BN_dup(private_key->private_key.rsa->dmp1); rsa 2510 source4/heimdal/lib/hx509/crypto.c rsa->dmq1 = BN_dup(private_key->private_key.rsa->dmq1); rsa 2511 source4/heimdal/lib/hx509/crypto.c rsa->iqmp = BN_dup(private_key->private_key.rsa->iqmp); rsa 2513 source4/heimdal/lib/hx509/crypto.c if (rsa->n == NULL || rsa->e == NULL || rsa 2514 source4/heimdal/lib/hx509/crypto.c rsa->d == NULL || rsa->p == NULL|| rsa->q == NULL || rsa 2515 source4/heimdal/lib/hx509/crypto.c rsa->dmp1 == NULL || rsa->dmq1 == NULL) { rsa 2516 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 2520 source4/heimdal/lib/hx509/crypto.c ret = RSA_check_key(rsa); rsa 2521 source4/heimdal/lib/hx509/crypto.c RSA_free(rsa); rsa 86 source4/heimdal/lib/hx509/ks_keychain.c RSA *rsa, rsa 96 source4/heimdal/lib/hx509/ks_keychain.c RSA *rsa, rsa 107 source4/heimdal/lib/hx509/ks_keychain.c RSA *rsa, rsa 110 source4/heimdal/lib/hx509/ks_keychain.c struct kc_rsa *kc = RSA_get_app_data(rsa); rsa 158 source4/heimdal/lib/hx509/ks_keychain.c RSA * rsa, int padding) rsa 164 source4/heimdal/lib/hx509/ks_keychain.c kc_rsa_init(RSA *rsa) rsa 170 source4/heimdal/lib/hx509/ks_keychain.c kc_rsa_finish(RSA *rsa) rsa 172 source4/heimdal/lib/hx509/ks_keychain.c struct kc_rsa *kc_rsa = RSA_get_app_data(rsa); rsa 202 source4/heimdal/lib/hx509/ks_keychain.c RSA *rsa; rsa 215 source4/heimdal/lib/hx509/ks_keychain.c rsa = RSA_new(); rsa 216 source4/heimdal/lib/hx509/ks_keychain.c if (rsa == NULL) rsa 225 source4/heimdal/lib/hx509/ks_keychain.c rsa->n = BN_new(); rsa 226 source4/heimdal/lib/hx509/ks_keychain.c if (rsa->n == NULL) abort(); rsa 238 source4/heimdal/lib/hx509/ks_keychain.c BN_bin2bn(data, kc->keysize, rsa->n); rsa 241 source4/heimdal/lib/hx509/ks_keychain.c rsa->e = NULL; rsa 243 source4/heimdal/lib/hx509/ks_keychain.c RSA_set_method(rsa, &kc_rsa_pkcs1_method); rsa 244 source4/heimdal/lib/hx509/ks_keychain.c ret = RSA_set_app_data(rsa, kc); rsa 248 source4/heimdal/lib/hx509/ks_keychain.c _hx509_private_key_assign_rsa(key, rsa); rsa 106 source4/heimdal/lib/hx509/ks_p11.c RSA *rsa, rsa 116 source4/heimdal/lib/hx509/ks_p11.c RSA *rsa, rsa 127 source4/heimdal/lib/hx509/ks_p11.c RSA *rsa, rsa 130 source4/heimdal/lib/hx509/ks_p11.c struct p11_rsa *p11rsa = RSA_get_app_data(rsa); rsa 143 source4/heimdal/lib/hx509/ks_p11.c ck_sigsize = RSA_size(rsa); rsa 166 source4/heimdal/lib/hx509/ks_p11.c RSA * rsa, int padding) rsa 168 source4/heimdal/lib/hx509/ks_p11.c struct p11_rsa *p11rsa = RSA_get_app_data(rsa); rsa 181 source4/heimdal/lib/hx509/ks_p11.c ck_sigsize = RSA_size(rsa); rsa 203 source4/heimdal/lib/hx509/ks_p11.c p11_rsa_init(RSA *rsa) rsa 209 source4/heimdal/lib/hx509/ks_p11.c p11_rsa_finish(RSA *rsa) rsa 211 source4/heimdal/lib/hx509/ks_p11.c struct p11_rsa *p11rsa = RSA_get_app_data(rsa); rsa 611 source4/heimdal/lib/hx509/ks_p11.c RSA *rsa; rsa 621 source4/heimdal/lib/hx509/ks_p11.c rsa = RSA_new(); rsa 622 source4/heimdal/lib/hx509/ks_p11.c if (rsa == NULL) rsa 630 source4/heimdal/lib/hx509/ks_p11.c rsa->n = getattr_bn(p, slot, session, object, CKA_MODULUS); rsa 631 source4/heimdal/lib/hx509/ks_p11.c rsa->e = getattr_bn(p, slot, session, object, CKA_PUBLIC_EXPONENT); rsa 647 source4/heimdal/lib/hx509/ks_p11.c RSA_set_method(rsa, &p11_rsa_pkcs1_method); rsa 648 source4/heimdal/lib/hx509/ks_p11.c ret = RSA_set_app_data(rsa, p11rsa); rsa 652 source4/heimdal/lib/hx509/ks_p11.c _hx509_private_key_assign_rsa(key, rsa);