HomeSort by: relevance | last modified time | path
    Searched defs:pt_len (Results 1 - 4 of 4) sorted by relevancy

  /src/crypto/external/bsd/openssl/dist/providers/fips/
self_test_kats.c 34 || !EVP_DigestUpdate(ctx, t->pt, t->pt_len)
88 int ret = 0, encrypt = 1, len = 0, ct_len = 0, pt_len = 0; local
107 t->base.pt_len)
132 && EVP_CipherFinal_ex(ctx, pt_buf + len, &pt_len)))
135 pt_len += len;
136 if (pt_len != (int)t->base.pt_len
137 || memcmp(pt_buf, t->base.pt, pt_len) != 0)
  /src/crypto/external/apache2/openssl/dist/providers/fips/
self_test_kats.c 44 || !EVP_DigestUpdate(ctx, t->pt, t->pt_len)
99 int ret = 0, encrypt = 1, len = 0, ct_len = 0, pt_len = 0; local
118 t->base.pt_len)
144 && EVP_CipherFinal_ex(ctx, pt_buf + len, &pt_len)))
147 pt_len += len;
148 if (pt_len != (int)t->base.pt_len
149 || memcmp(pt_buf, t->base.pt, pt_len) != 0)
  /src/crypto/external/bsd/openssl/dist/test/
acvp_test.c 672 const unsigned char *pt, size_t pt_len,
688 || !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len))
706 return TEST_true(cipher_enc(tst->alg, tst->pt, tst->pt_len,
713 tst->pt, tst->pt_len, !enc));
717 const unsigned char *pt, size_t pt_len,
743 || !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, NULL, pt_len))
745 || !TEST_int_eq(EVP_CipherUpdate(ctx, out, &len, pt, pt_len), pass))
778 const size_t tag_len = tst->ct_len - tst->pt_len;
787 return aes_ccm_enc_dec(tst->alg, tst->pt, tst->pt_len,
794 tst->pt, tst->pt_len, tag, tag_len, !enc, pass
1248 size_t pt_len = sizeof(pt); local
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
acvp_test.c 877 const unsigned char *pt, size_t pt_len,
893 || !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len))
911 return TEST_true(cipher_enc(tst->alg, tst->pt, tst->pt_len,
918 tst->pt, tst->pt_len, !enc));
922 const unsigned char *pt, size_t pt_len,
950 || !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, NULL, pt_len))
952 || !TEST_int_eq(EVP_CipherUpdate(ctx, out, &len, pt, pt_len), pass))
986 const size_t tag_len = tst->ct_len - tst->pt_len;
995 return aes_ccm_enc_dec(tst->alg, tst->pt, tst->pt_len,
1002 tst->pt, tst->pt_len, tag, tag_len, !enc, pass
1515 size_t pt_len = sizeof(pt); local
    [all...]

Completed in 29 milliseconds