Searched refs:kdk (Results 1 – 3 of 3) sorted by relevance
/openssl/crypto/rsa/ |
H A D | rsa_pk1.c | 282 const unsigned char *kdk, in ossl_rsa_prf() argument 322 if (HMAC_Init_ex(hmac, kdk, SHA256_DIGEST_LENGTH, md, NULL) <= 0) { in ossl_rsa_prf() 392 int num, unsigned char *kdk) in ossl_rsa_padding_check_PKCS1_type_2() argument 432 if (ossl_rsa_prf(ctx, synthetic, flen, "message", 7, kdk, flen * 8) < 0) in ossl_rsa_padding_check_PKCS1_type_2() 437 "length", 6, kdk, in ossl_rsa_padding_check_PKCS1_type_2()
|
H A D | rsa_ossl.c | 435 unsigned char *buf, int num, unsigned char *kdk) in derive_kdk() argument 507 if (HMAC_Final(hmac, kdk, &md_len) <= 0) { in derive_kdk() 525 unsigned char kdk[SHA256_DIGEST_LENGTH] = {0}; in rsa_ossl_private_decrypt() local 663 if (derive_kdk(flen, from, rsa, buf, num, kdk) == 0) in rsa_ossl_private_decrypt() 676 r = ossl_rsa_padding_check_PKCS1_type_2(rsa->libctx, to, num, buf, j, num, kdk); in rsa_ossl_private_decrypt()
|
/openssl/include/crypto/ |
H A D | rsa.h | 95 int num, unsigned char *kdk);
|
Completed in 14 milliseconds