HomeSort by: relevance | last modified time | path
    Searched refs:noncelen (Results 1 - 25 of 25) sorted by relevancy

  /src/crypto/external/bsd/openssl.old/dist/test/
drbg_cavs_test.c 30 size_t noncelen; member in struct:test_ctx_st
52 return t->noncelen;
89 t.noncelen = td->noncelen;
148 t.noncelen = td->noncelen;
210 t.noncelen = td->noncelen;
drbg_cavs_data.h 71 size_t noncelen; member in struct:drbg_kat
drbgtest.c 44 size_t noncelen; member in struct:drbg_selftest_data_st
128 size_t noncelen; member in struct:test_ctx_st
150 return t->noncelen;
186 t.noncelen = td->noncelen;
217 t.noncelen = td->noncelen_pr;
265 t->noncelen = td->noncelen;
346 t.noncelen = drbg->min_noncelen - 1;
356 t.noncelen = drbg->max_noncelen + 1
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/kdfs/
hmacdrbg_kdf.c 36 size_t entropylen, noncelen; member in struct:__anon549
65 OPENSSL_clear_free(ctx->nonce, ctx->noncelen);
105 || !ossl_prov_memdup(src->nonce, src->noncelen,
106 &dst->nonce, &dst->noncelen))
130 || ctx->noncelen == 0
132 ctx->nonce, ctx->noncelen, NULL, 0))
209 hmac->noncelen = size;
  /src/crypto/external/apache2/openssl/dist/crypto/
deterministic_nonce.c 126 * nonce, noncelen A fixed input nonce buffer
133 const unsigned char *nonce, size_t noncelen,
155 (void *)nonce, noncelen);
  /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/
drbg_local.h 66 const unsigned char *nonce, size_t noncelen,
172 const unsigned char *nonce, size_t noncelen,
drbg.c 354 size_t noncelen = 0, entropylen = 0; local
386 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength,
389 if (noncelen == 0) {
393 nonce = OPENSSL_malloc(noncelen);
398 if (noncelen != drbg->parent_nonce(drbg->parent, nonce, drbg->strength, drbg->min_noncelen, drbg->max_noncelen)) {
418 noncelen = prov_drbg_get_nonce(drbg, &nonce, drbg->min_noncelen,
420 if (noncelen < drbg->min_noncelen
421 || noncelen > drbg->max_noncelen) {
445 if (!drbg->instantiate(drbg, entropy, entropylen, nonce, noncelen,
460 ossl_prov_cleanup_nonce(drbg->provctx, nonce, noncelen);
    [all...]
drbg_ctr.c 269 const unsigned char *nonce, size_t noncelen)
296 if (!ctr_df(ctr, in1, in1len, nonce, noncelen, in2, in2len))
314 const unsigned char *nonce, size_t noncelen,
328 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen))
  /src/crypto/external/bsd/openssl/dist/providers/implementations/rands/
drbg_local.h 80 const unsigned char *nonce, size_t noncelen,
187 const unsigned char *nonce, size_t noncelen,
drbg.c 371 size_t noncelen = 0, entropylen = 0; local
403 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength,
406 if (noncelen == 0) {
410 nonce = OPENSSL_malloc(noncelen);
415 if (noncelen != drbg->parent_nonce(drbg->parent, nonce,
438 noncelen = prov_drbg_get_nonce(drbg, &nonce, drbg->min_noncelen,
440 if (noncelen < drbg->min_noncelen
441 || noncelen > drbg->max_noncelen) {
465 if (!drbg->instantiate(drbg, entropy, entropylen, nonce, noncelen,
480 ossl_prov_cleanup_nonce(drbg->provctx, nonce, noncelen);
    [all...]
drbg_ctr.c 262 const unsigned char *nonce, size_t noncelen)
289 if (!ctr_df(ctr, in1, in1len, nonce, noncelen, in2, in2len))
307 const unsigned char *nonce, size_t noncelen,
321 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen))
  /src/sys/crypto/aes/
aes_ccm.c 88 const uint8_t *nonce, unsigned noncelen, const void *ad, size_t adlen,
100 KASSERT(noncelen == 15 - L);
112 memcpy(auth + 1, nonce, noncelen);
114 KASSERT(i < 16 - 1 - noncelen);
176 memcpy(ctr + 1, nonce, noncelen);
177 memset(ctr + 1 + noncelen, 0, 16 - 1 - noncelen);
373 size_t noncelen; member in struct:__anon2444
516 const unsigned noncelen = 13; local
531 aes_ccm_init(C, nr, AE, L, T[i].M, T[i].nonce, noncelen,
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/rand/
drbg_lib.c 292 size_t noncelen = 0, entropylen = 0; local
340 noncelen = drbg->get_nonce(drbg, &nonce, drbg->strength / 2,
342 if (noncelen < drbg->min_noncelen || noncelen > drbg->max_noncelen) {
349 nonce, noncelen, pers, perslen)) {
364 drbg->cleanup_nonce(drbg, nonce, noncelen);
drbg_ctr.c 227 const unsigned char *nonce, size_t noncelen)
254 if (!ctr_df(ctr, in1, in1len, nonce, noncelen, in2, in2len))
272 const unsigned char *nonce, size_t noncelen,
286 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen))
rand_local.h 106 size_t noncelen,
  /src/crypto/external/apache2/openssl/dist/crypto/hpke/
hpke.c 64 size_t noncelen; member in struct:ossl_hpke_ctx_st
165 hctx->noncelen, NULL)
247 hctx->noncelen, NULL)
426 if (ctx == NULL || blen < sizeof(seq_copy) || blen != ctx->noncelen)
755 ctx->noncelen = aead_info->Nn;
756 ctx->nonce = OPENSSL_malloc(ctx->noncelen);
759 if (ossl_hpke_labeled_expand(kctx, ctx->nonce, ctx->noncelen,
870 OPENSSL_clear_free(ctx->nonce, ctx->noncelen);
  /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/
cipher_chacha20_poly1305_hw.c 80 size_t noncelen = CHACHA20_POLY1305_IVLEN; local
89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv,
90 noncelen);
cipher_aes_ccm_hw_s390x.inc 34 const unsigned char *nonce, size_t noncelen,
  /src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/
cipher_chacha20_poly1305_hw.c 80 size_t noncelen = CHACHA20_POLY1305_IVLEN; local
89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv,
90 noncelen);
cipher_aes_ccm_hw_s390x.inc 34 const unsigned char *nonce, size_t noncelen,
  /src/crypto/external/bsd/openssl/dist/providers/fips/
self_test_kats.c 304 (void *)t->nonce, t->noncelen);
self_test_data.inc 77 size_t noncelen;
626 * [NonceLen = 128]
687 * [NonceLen = 64]
736 * [NonceLen = 64]
  /src/sys/crypto/nist_hash_drbg/
nist_hash_drbg.c 127 const void *nonce, size_t noncelen,
135 { .hv_base = nonce, .hv_len = noncelen },
  /src/crypto/external/apache2/openssl/dist/providers/fips/
self_test_kats.c 342 (void *)t->nonce, t->noncelen);
self_test_data.inc 92 size_t noncelen;
695 * [NonceLen = 128]
756 * [NonceLen = 64]
805 * [NonceLen = 128]

Completed in 35 milliseconds