Home
last modified time | relevance | path

Searched refs:ccm (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_ccm_cavs.txt13 Cipher = aes-128-ccm
21 Cipher = aes-128-ccm
31 Cipher = aes-128-ccm
41 Cipher = aes-128-ccm
51 Cipher = aes-128-ccm
59 Cipher = aes-128-ccm
69 Cipher = aes-128-ccm
79 Cipher = aes-128-ccm
89 Cipher = aes-128-ccm
99 Cipher = aes-128-ccm
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ccm_hw_s390x.inc22 sctx->ccm.s390x.fc = S390X_AES_FC(keylen);
23 memcpy(&sctx->ccm.s390x.kmac.k, key, keylen);
25 sctx->ccm.s390x.nonce.b[0] = ((ctx->l - 1) & 0x7)
27 memset(sctx->ccm.s390x.nonce.b + 1, 0, sizeof(sctx->ccm.s390x.nonce.b));
28 sctx->ccm.s390x.blocks = 0;
39 sctx->ccm.s390x.nonce.b[0] &= ~S390X_CCM_AAD_FLAG;
40 sctx->ccm.s390x.nonce.g[1] = mlen;
41 memcpy(sctx->ccm.s390x.nonce.b + 1, nonce, 15 - ctx->l);
58 sctx->ccm.s390x.nonce.b[0] |= S390X_CCM_AAD_FLAG;
61 ptr = sctx->ccm.s390x.buf.b;
[all …]
H A Dcipher_aes_ccm.c51 dupctx->base.ccm_ctx.key = &dupctx->ccm.ks.ks; in aes_ccm_dupctx()
65 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 128, 8, 96);
67 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 192, 8, 96);
69 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 256, 8, 96);
H A Dcipher_aria_ccm.c54 IMPLEMENT_aead_cipher(aria, ccm, CCM, AEAD_FLAGS, 128, 8, 96);
56 IMPLEMENT_aead_cipher(aria, ccm, CCM, AEAD_FLAGS, 192, 8, 96);
58 IMPLEMENT_aead_cipher(aria, ccm, CCM, AEAD_FLAGS, 256, 8, 96);
H A Dcipher_aes_ccm_hw.c21 fn_set_enc_key(key, keylen * 8, &actx->ccm.ks.ks); \
22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ccm.ks.ks, \
H A Dcipher_aes_ccm.h45 } ccm; member
/freebsd/crypto/openssl/crypto/evp/
H A De_aes.c91 CCM128_CONTEXT ccm; member
323 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aesni_ccm_init_key()
678 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aes_t4_ccm_init_key()
949 } ccm; member
1703 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv()
1704 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv()
1705 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv()
1720 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad()
1723 ptr = ctx->aes.ccm.buf.b; in s390x_aes_ccm_aad()
1740 ctx->aes.ccm.buf.b[i] = *aad; in s390x_aes_ccm_aad()
[all …]
H A De_aria.c56 CCM128_CONTEXT ccm; member
525 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aria_ccm_init_key()
617 if (!CRYPTO_ccm128_tag(&cctx->ccm, ptr, (size_t)arg)) in aria_ccm_ctrl()
628 if (cctx->ccm.key) { in aria_ccm_ctrl()
629 if (cctx->ccm.key != &cctx->ks) in aria_ccm_ctrl()
631 cctx_out->ccm.key = &cctx_out->ks; in aria_ccm_ctrl()
645 CCM128_CONTEXT *ccm = &cctx->ccm; in aria_ccm_tls_cipher() local
659 if (CRYPTO_ccm128_setiv(ccm, ctx->iv, 15 - cctx->L, in aria_ccm_tls_cipher()
663 CRYPTO_ccm128_aad(ccm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_ccm_tls_cipher()
669 if (cctx->str ? CRYPTO_ccm128_encrypt_ccm64(ccm, in, out, len, cctx->str) in aria_ccm_tls_cipher()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
/freebsd/crypto/openssl/test/
H A Devp_libctx_test.c316 int ret = 0, diff, ccm, siv, no_null_key; in test_cipher_reinit() local
351 ccm = (EVP_CIPHER_get_mode(cipher) == EVP_CIPH_CCM_MODE); in test_cipher_reinit()
371 ccm ? 0 : 1) in test_cipher_reinit()
375 ccm || siv ? 0 : 1)))) in test_cipher_reinit()
378 if (ccm == 0) { in test_cipher_reinit()
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dbrcm,iproc-gpio.txt13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or
74 compatible = "brcm,cygnus-ccm-gpio";
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_status/
H A Dzpool_status_005_pos.ksh65 log_must zfs create -o encryption=aes-256-ccm -o keyformat=passphrase \
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx1.dtsi199 clks: ccm@21b000 {
200 compatible = "fsl,imx1-ccm";
H A Dimx31.dtsi235 clks: ccm@53f80000 {
236 compatible = "fsl,imx31-ccm";
H A Dimx35.dtsi209 clks: ccm@53f80000 {
210 compatible = "fsl,imx35-ccm";
H A Dimxrt1050.dtsi52 compatible = "fsl,imxrt1050-ccm";
H A Dimx50.dtsi338 clks: ccm@53fd4000 {
339 compatible = "fsl,imx50-ccm";
/freebsd/contrib/wpa/src/crypto/
H A DMakefile12 aes-ccm.o \
/freebsd/contrib/bmake/mk/
H A Dinit.mk37 CCM_SUFFIXES ?= .ccm
H A DFILES10 ccm.dep.mk
H A Dsys.mk52 CCM_SUFFIXES += .ccm
/freebsd/sys/dts/arm/
H A Dvybrid.dtsi81 ccm@4006b000 {
82 compatible = "fsl,mvf600-ccm";
/freebsd/sys/contrib/openzfs/lib/libicp/
H A DMakefile.am24 module/icp/algs/modes/ccm.c \
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_ccm.c496 DRIVER_MODULE(ccm, simplebus, ccm_driver, 0, 0);
/freebsd/cddl/lib/libicp_rescue/
H A DMakefile73 algs/modes/ccm.c \

123