| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/hkdf/ |
| H A D | hkdf_test.c | 42 const char *okm; member 65 .okm = "\x83\x23\x90\x08\x6c\xda\x71\xfb" 107 .okm = "\xce\x6c\x97\x19\x28\x05\xb3\x46" 129 .okm = "\xf5\xfa\x02\xb1\x82\x98\xa7\x2a" 147 .okm = "\x74\x13\xe8\x99\x7e\x02\x06\x10" 164 .okm = "\x14\x07\xd4\x60\x13\xd9\x8b\xc6" 197 if (memcmp(good, tv->okm, tv->okm_len) != 0) { in run_test() 199 hexdump("Expected:", (uint8_t *)tv->okm, tv->okm_len); in run_test()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | hpke_util.h | 77 unsigned char *okm, size_t okmlen, 89 unsigned char *okm, size_t okmlen,
|
| /freebsd/crypto/openssl/providers/implementations/kdfs/ |
| H A D | hkdf.c | 58 unsigned char *okm, size_t okm_len); 66 unsigned char *okm, size_t okm_len); 458 unsigned char *okm, size_t okm_len) in HKDF() argument 475 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, okm, okm_len); in HKDF() 566 unsigned char *okm, size_t okm_len) in HKDF_Expand() argument 584 if (n > 255 || okm == NULL) in HKDF_Expand() 617 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
|
| /freebsd/crypto/openssl/crypto/hpke/ |
| H A D | hpke_util.c | 284 unsigned char *okm, size_t okmlen, in ossl_hpke_kdf_expand() argument 288 return kdf_derive(kctx, okm, okmlen, EVP_KDF_HKDF_MODE_EXPAND_ONLY, in ossl_hpke_kdf_expand() 346 unsigned char *okm, size_t okmlen, in ossl_hpke_labeled_expand() argument 384 ret = ossl_hpke_kdf_expand(kctx, okm, okmlen, in ossl_hpke_labeled_expand()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | crypto_module_tests.c | 2067 u8 okm[82]; in test_extract_expand_hkdf() local 2165 okm, sizeof(okm1)) < 0) in test_extract_expand_hkdf() 2167 if (os_memcmp(okm, okm1, sizeof(okm1)) != 0) { in test_extract_expand_hkdf() 2180 okm, sizeof(okm2)) < 0) in test_extract_expand_hkdf() 2182 if (os_memcmp(okm, okm2, sizeof(okm2)) != 0) { in test_extract_expand_hkdf()
|
| /freebsd/crypto/openssl/providers/implementations/kem/ |
| H A D | ecx_kem.c | 296 unsigned char *okm, size_t okmlen, in dhkem_extract_and_expand() argument 316 && ossl_hpke_labeled_expand(kctx, okm, okmlen, prk, prklen, in dhkem_extract_and_expand()
|
| H A D | ec_kem.c | 339 unsigned char *okm, size_t okmlen, in dhkem_extract_and_expand() argument 359 && ossl_hpke_labeled_expand(kctx, okm, okmlen, prk, prklen, in dhkem_extract_and_expand()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | sae.c | 557 const char *info, u8 *okm, size_t okm_len) in hkdf_expand() argument 564 okm, okm_len); in hkdf_expand() 569 okm, okm_len); in hkdf_expand() 575 okm, okm_len); in hkdf_expand()
|
| /freebsd/contrib/bearssl/test/ |
| H A D | test_crypto.c | 1036 unsigned char ikm[100], saltbuf[100], info[100], okm[100], tmp[107]; in test_HKDF_inner() local 1051 okm_len = hextobin(okm, okmhex); in test_HKDF_inner() 1057 check_equals("KAT HKDF 1", tmp, okm, okm_len); in test_HKDF_inner() 1067 check_equals("KAT HKDF 2", tmp, okm, okm_len); in test_HKDF_inner() 1075 check_equals("KAT HKDF 3", tmp, okm, okm_len); in test_HKDF_inner()
|