HomeSort by: relevance | last modified time | path
    Searched defs:noncelen (Results 1 - 11 of 11) 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/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);
  /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/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);
  /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/dist/providers/implementations/rands/
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...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/
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...]
  /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);
  /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);

Completed in 35 milliseconds