Home
last modified time | relevance | path

Searched refs:encl (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dafalgtest.c35 int encl, encf, decl, decf; in test_afalg_aes_cbc() local
86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
87 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf + encl, &encf))) in test_afalg_aes_cbc()
89 encl += encf; in test_afalg_aes_cbc()
96 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dafalgtest.c48 int encl, encf, decl, decf; in test_afalg_aes_cbc() local
71 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
72 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf+encl, &encf))) in test_afalg_aes_cbc()
74 encl += encf; in test_afalg_aes_cbc()
81 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/netbsd-src/sys/dev/pci/
H A Dhifn7751.c886 uint32_t dmacfg, ramcfg, encl, addr, i; in hifn_enable_crypto() local
913 encl = READ_REG_0(sc, HIFN_0_PUSTAT) & HIFN_PUSTAT_CHIPENA; in hifn_enable_crypto()
919 if (encl == HIFN_PUSTAT_ENA_1 || encl == HIFN_PUSTAT_ENA_2) { in hifn_enable_crypto()
926 if (encl != 0 && encl != HIFN_PUSTAT_ENA_0) { in hifn_enable_crypto()
949 encl = READ_REG_0(sc, HIFN_0_PUSTAT) & HIFN_PUSTAT_CHIPENA; in hifn_enable_crypto()
952 if (encl != HIFN_PUSTAT_ENA_1 && encl != HIFN_PUSTAT_ENA_2) in hifn_enable_crypto()
962 switch (encl) { in hifn_enable_crypto()