Home
last modified time | relevance | path

Searched refs:okm (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/hkdf/
H A Dhkdf_test.c41 const char *okm; member
64 .okm = "\x83\x23\x90\x08\x6c\xda\x71\xfb"
106 .okm = "\xce\x6c\x97\x19\x28\x05\xb3\x46"
128 .okm = "\xf5\xfa\x02\xb1\x82\x98\xa7\x2a"
146 .okm = "\x74\x13\xe8\x99\x7e\x02\x06\x10"
163 .okm = "\x14\x07\xd4\x60\x13\xd9\x8b\xc6"
196 if (memcmp(good, tv->okm, tv->okm_len) != 0) { in run_test()
198 hexdump("Expected:", (uint8_t *)tv->okm, tv->okm_len); in run_test()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dhkdf.c53 unsigned char *okm, size_t okm_len);
61 unsigned char *okm, size_t okm_len);
407 unsigned char *okm, size_t okm_len) in HKDF()
424 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, okm, okm_len);
516 unsigned char *okm, size_t okm_len) in HKDF_Expand()
534 if (n > 255 || okm == NULL) in HKDF_Expand()
569 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
399 HKDF(OSSL_LIB_CTX * libctx,const EVP_MD * evp_md,const unsigned char * salt,size_t salt_len,const unsigned char * ikm,size_t ikm_len,const unsigned char * info,size_t info_len,unsigned char * okm,size_t okm_len) HKDF() argument
508 HKDF_Expand(const EVP_MD * evp_md,const unsigned char * prk,size_t prk_len,const unsigned char * info,size_t info_len,unsigned char * okm,size_t okm_len) HKDF_Expand() argument
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_module_tests.c2067 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/contrib/wpa/src/common/
H A Dsae.c557 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 Dtest_crypto.c1036 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()