/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg.c | 371 size_t noncelen = 0, entropylen = 0; in ossl_prov_drbg_instantiate() local 403 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength, in ossl_prov_drbg_instantiate() 406 if (noncelen == 0) { in ossl_prov_drbg_instantiate() 410 nonce = OPENSSL_malloc(noncelen); in ossl_prov_drbg_instantiate() 415 if (noncelen != drbg->parent_nonce(drbg->parent, nonce, in ossl_prov_drbg_instantiate() 438 noncelen = prov_drbg_get_nonce(drbg, &nonce, drbg->min_noncelen, in ossl_prov_drbg_instantiate() 440 if (noncelen < drbg->min_noncelen in ossl_prov_drbg_instantiate() 441 || noncelen > drbg->max_noncelen) { in ossl_prov_drbg_instantiate() 465 if (!drbg->instantiate(drbg, entropy, entropylen, nonce, noncelen, in ossl_prov_drbg_instantiate() 480 ossl_prov_cleanup_nonce(drbg->provctx, nonce, noncelen); in ossl_prov_drbg_instantiate() [all …]
|
H A D | drbg_local.h | 80 const unsigned char *nonce, size_t noncelen, 187 const unsigned char *nonce, size_t noncelen,
|
H A D | drbg_ctr.c | 262 const unsigned char *nonce, size_t noncelen) in ctr_update() argument 289 if (!ctr_df(ctr, in1, in1len, nonce, noncelen, in2, in2len)) in ctr_update() 307 const unsigned char *nonce, size_t noncelen, in drbg_ctr_instantiate() argument 321 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen)) in drbg_ctr_instantiate()
|
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | fuzzing_ecrdsa.h | 23 …sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
|
H A D | fuzzing_ecgdsa.h | 23 …sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
|
H A D | fuzzing_ecdsa.h | 23 …sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
|
/freebsd/crypto/libecc/src/examples/sig/sdsa/ |
H A D | sdsa.h | 66 const u8 *nonce, u16 noncelen,
|
H A D | sdsa.c | 89 const u8 *nonce, u16 noncelen, in sdsa_sign() argument 150 ret = _os2ip(&k, nonce, noncelen); EG(ret, err); in sdsa_sign()
|
/freebsd/crypto/libecc/src/examples/sig/kcdsa/ |
H A D | kcdsa.h | 66 const u8 *nonce, u16 noncelen,
|
H A D | kcdsa.c | 130 const u8 *nonce, u16 noncelen, in kcdsa_sign() argument 209 ret = _os2ip(&k, nonce, noncelen); EG(ret, err); in kcdsa_sign()
|
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/ |
H A D | gostr34_10_94.h | 66 const u8 *nonce, u16 noncelen,
|
H A D | gostr34_10_94.c | 87 const u8 *nonce, u16 noncelen, in gostr34_10_94_sign() argument 140 ret = _os2ip(&k, nonce, noncelen); EG(ret, err); in gostr34_10_94_sign()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | fuzzing_ecgdsa.c | 41 …_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen) in ecgdsa_sign_raw() argument 141 MUST_HAVE((noncelen <= (u8)(BYTECEIL(q_bit_len))), ret, err); in ecgdsa_sign_raw() 142 ret = nn_init_from_buf(&k, nonce, noncelen); EG(ret, err); in ecgdsa_sign_raw()
|
H A D | fuzzing_ecdsa.c | 41 …_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen) in ecdsa_sign_raw() argument 142 MUST_HAVE((noncelen <= (u8)(BYTECEIL(q_bit_len))), ret, err); in ecdsa_sign_raw() 143 ret = nn_init_from_buf(&k, nonce, noncelen); EG(ret, err); in ecdsa_sign_raw()
|
H A D | fuzzing_ecrdsa.c | 82 …_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen) in ecrdsa_sign_raw() argument 144 MUST_HAVE((noncelen <= (u8)(BYTECEIL(q_bit_len))), ret, err); in ecrdsa_sign_raw() 145 ret = nn_init_from_buf(&k, nonce, noncelen); EG(ret, err); in ecrdsa_sign_raw()
|
/freebsd/crypto/libecc/src/examples/sig/dsa/ |
H A D | dsa.h | 69 const u8 *nonce, u16 noncelen,
|
H A D | dsa.c | 195 const u8 *nonce, u16 noncelen, in dsa_sign() argument 248 ret = _os2ip(&k, nonce, noncelen); EG(ret, err); in dsa_sign()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 80 size_t noncelen = CHACHA20_POLY1305_IVLEN; in chacha20_poly1305_initiv() local 89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv, in chacha20_poly1305_initiv() 90 noncelen); in chacha20_poly1305_initiv()
|
H A D | cipher_aes_ccm_hw_s390x.inc | 34 const unsigned char *nonce, size_t noncelen,
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_self_tests_core.c | 892 u8 noncelen; local 921 noncelen = (u8)(BYTECEIL(q_bit_len)); 923 FORCE_USED_VAR(noncelen); 929 MUST_HAVE((u32)noncelen <= sizeof(nonce), ret, err); 934 if(ecdsa_sign_raw(&sig_ctx, digest, digestlen, sig, siglen, nonce, noncelen)){ 943 if(ecgdsa_sign_raw(&sig_ctx, digest, digestlen, sig, siglen, nonce, noncelen)){ 952 if(ecrdsa_sign_raw(&sig_ctx, digest, digestlen, sig, siglen, nonce, noncelen)){
|
/freebsd/sys/net/ |
H A D | if_ovpn.c | 86 uint8_t noncelen; member 772 kdir->noncelen = ivlen; in ovpn_create_kkey_dir() 1956 key->encrypt->noncelen); in ovpn_transmit_to_peer() 2356 key->decrypt->noncelen); in ovpn_udp_input()
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_kats.c | 304 (void *)t->nonce, t->noncelen); in self_test_drbg()
|
H A D | self_test_data.inc | 77 size_t noncelen;
|