Home
last modified time | relevance | path

Searched refs:hkdf (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/node/test/parallel/
Dtest-crypto-hkdf.js12 hkdf,
18 assert.throws(() => hkdf(), {
24 assert.throws(() => hkdf(i, 'a'), {
35 assert.throws(() => hkdf('sha256', i), {
46 assert.throws(() => hkdf('sha256', 'secret', i), {
57 assert.throws(() => hkdf('sha256', 'secret', 'salt', i), {
68 assert.throws(() => hkdf('sha256', 'secret', 'salt', 'info', i), {
78 assert.throws(() => hkdf('sha256', 'secret', 'salt', 'info', -1), {
84 assert.throws(() => hkdf('sha256', 'secret', 'salt', 'info',
97 assert.throws(() => hkdf('unknown', 'a', '', '', 10, common.mustNotCall()), {
[all …]
Dtest-trace-events-threadpool.js12 const { hkdf } = require('crypto');
17 hkdf('sha512', 'key', 'salt', 'info', 64, () => {});
/third_party/libcoap/src/oscore/
Doscore_crypto.c113 coap_bin_const_t *hkdf = NULL; in oscore_hkdf_expand() local
124 if (!oscore_hmac_hash(hmac_alg, prk, &data, &hkdf)) in oscore_hkdf_expand()
126 memcpy(&out_buffer[0], hkdf->s, hkdf->length); in oscore_hkdf_expand()
127 coap_delete_bin_const(hkdf); in oscore_hkdf_expand()
136 if (!oscore_hmac_hash(hmac_alg, prk, &data, &hkdf)) in oscore_hkdf_expand()
138 memcpy(&out_buffer[i * 32], hkdf->s, hkdf->length); in oscore_hkdf_expand()
139 coap_delete_bin_const(hkdf); in oscore_hkdf_expand()
/third_party/openssl/demos/kdf/
DMakefile10 all: hkdf pbkdf2 scrypt
15 hkdf: hkdf.o target
22 $(RM) *.o hkdf pbkdf2 scrypt
/third_party/node/lib/internal/crypto/
Dhkdf.js101 function hkdf(hash, key, salt, info, length, callback) { function
139 const hkdfPromise = promisify(hkdf);
165 hkdf, property
/third_party/mbedtls/library/
Dpsa_crypto.c5036 mbedtls_free(operation->ctx.hkdf.info); in psa_key_derivation_abort()
5037 status = psa_mac_abort(&operation->ctx.hkdf.hmac); in psa_key_derivation_abort()
5116 static psa_status_t psa_key_derivation_hkdf_read(psa_hkdf_key_derivation_t *hkdf, in psa_key_derivation_hkdf_read() argument
5131 if (hkdf->state < HKDF_STATE_KEYED || in psa_key_derivation_hkdf_read()
5132 (!hkdf->info_set in psa_key_derivation_hkdf_read()
5139 hkdf->state = HKDF_STATE_OUTPUT; in psa_key_derivation_hkdf_read()
5143 uint8_t n = hash_length - hkdf->offset_in_block; in psa_key_derivation_hkdf_read()
5147 memcpy(output, hkdf->output_block + hkdf->offset_in_block, n); in psa_key_derivation_hkdf_read()
5150 hkdf->offset_in_block += n; in psa_key_derivation_hkdf_read()
5159 if (hkdf->block_number == last_block) { in psa_key_derivation_hkdf_read()
[all …]
DMakefile111 hkdf.o \
DCMakeLists.txt46 hkdf.c
/third_party/node/benchmark/crypto/
Dhkdf.js6 hkdf,
36 hkdf(hash, key, salt, info, size, done);
/third_party/node/deps/openssl/openssl/providers/implementations/exchange/
Dkdf_exch.c77 KDF_NEWCTX(hkdf, "HKDF")
197 KDF_SETTABLE_CTX_PARAMS(hkdf, "HKDF")
214 KDF_KEYEXCH_FUNCTIONS(hkdf)
/third_party/openssl/providers/implementations/exchange/
Dkdf_exch.c77 KDF_NEWCTX(hkdf, "HKDF")
197 KDF_SETTABLE_CTX_PARAMS(hkdf, "HKDF")
214 KDF_KEYEXCH_FUNCTIONS(hkdf)
/third_party/node/lib/
Dcrypto.js68 hkdf,
200 hkdf, property
/third_party/openssl/providers/implementations/kdfs/
Dbuild.info18 SOURCE[$HKDF_GOAL]=hkdf.c
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
Dbuild.info18 SOURCE[$HKDF_GOAL]=hkdf.c
/third_party/openssl/demos/
DREADME.txt24 hkdf.c Demonstration of HMAC based key derivation
/third_party/openssl/doc/man3/
DEVP_PKEY_CTX_set1_pbe_pass.pod26 key, such as hkdf), EVP_PKEY_CTX_set1_kdf_md (same thing here).
/third_party/mbedtls/tests/suites/
Dtest_suite_hkdf.function2 #include "mbedtls/hkdf.h"
/third_party/mbedtls/scripts/data_files/
Dquery_config.fmt57 #include "mbedtls/hkdf.h"
/third_party/mbedtls/include/psa/
Dcrypto_struct.h260 psa_hkdf_key_derivation_t MBEDTLS_PRIVATE(hkdf);
/third_party/mbedtls/
Dmbedtls.gni71 "$MBEDTLSDIR/library/hkdf.c",
/third_party/openssl/crypto/objects/
Dobj_mac.num1036 hkdf 1036
/third_party/node/deps/openssl/openssl/crypto/objects/
Dobj_mac.num1036 hkdf 1036
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/
Dopenssl-fips.gypi222 'openssl/providers/implementations/kdfs/hkdf.c',
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/
Dopenssl-fips.gypi222 'openssl/providers/implementations/kdfs/hkdf.c',
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/
Dopenssl-fips.gypi222 'openssl/providers/implementations/kdfs/hkdf.c',

123456