| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evpciph_aes_ccm_cavs.txt | 9 # Tests from NIST CCM Test Vectors (SP800-38C) 11 Title = NIST CCM 128 Decryption-Verification Process Tests 13 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 [all …]
|
| H A D | evpciph_aria.txt | 197 Title = ARIA CCM test vectors from IETF draft-ietf-avtcore-aria-srtp-02 201 Cipher = ARIA-128-CCM 209 Cipher = ARIA-256-CCM 219 Cipher = ARIA-128-CCM 227 Cipher = ARIA-256-CCM 237 Cipher = ARIA-128-CCM 245 Cipher = ARIA-256-CCM 254 Cipher = ARIA-256-CCM
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_ccm_hw_s390x.inc | 11 * S390X support for AES CCM. 22 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; [all …]
|
| H A D | cipher_aes_ccm.c | 17 /* Dispatch functions for AES CCM mode */ 51 * provctx->ccm.ks.ks to the ccm context key so we need to point it to in aes_ccm_dupctx() 54 dupctx->base.ccm_ctx.key = &dupctx->ccm.ks.ks; in aes_ccm_dupctx() 68 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 128, 8, 96); 70 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 192, 8, 96); 72 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 256, 8, 96);
|
| H A D | cipher_aria_ccm.c | 10 /* Dispatch functions for ARIA CCM mode */ 54 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);
|
| /freebsd/crypto/openssl/test/ |
| H A D | quic_cc_test.c | 95 const OSSL_CC_METHOD *ccm; member 108 const OSSL_CC_METHOD *ccm, OSSL_CC_DATA *cc, in net_sim_init() argument 111 s->ccm = ccm; in net_sim_init() 187 if (!TEST_true(s->ccm->on_data_sent(s->cc, sz))) in net_sim_send() 237 if (!TEST_true(s->ccm->on_data_lost(s->cc, &loss_info))) in net_sim_process_one() 240 if (!TEST_true(s->ccm->on_data_lost_finished(s->cc, 0))) in net_sim_process_one() 252 if (!TEST_true(s->ccm->on_data_acked(s->cc, &ack_info))) in net_sim_process_one() 284 static int dump_state(const OSSL_CC_METHOD *ccm, OSSL_CC_DATA *cc, in dump_state() argument 293 if (!TEST_true(ccm->get_option_uint(cc, OSSL_CC_OPTION_CUR_CWND_SIZE, in dump_state() 297 if (!TEST_true(ccm->get_option_uint(cc, OSSL_CC_OPTION_CUR_BYTES_IN_FLIGHT, in dump_state() [all …]
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 91 CCM128_CONTEXT ccm; member 343 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aesni_ccm_init_key() 726 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aes_t4_ccm_init_key() 959 * Padding is chosen so that ccm.kmac_param.k overlaps with key.k and 960 * ccm.fc with key.k.rounds. Remember that on s390x, an AES_KEY's 1003 } ccm; member 1794 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv() 1795 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv() 1796 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv() 1811 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad() [all …]
|
| H A D | e_aria.c | 44 /* ARIA CCM context */ 56 CCM128_CONTEXT ccm; member 197 /* Authenticated cipher modes (GCM/CCM) */ 521 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aria_ccm_init_key() 613 if (!CRYPTO_ccm128_tag(&cctx->ccm, ptr, (size_t)arg)) in aria_ccm_ctrl() 624 if (cctx->ccm.key) { in aria_ccm_ctrl() 625 if (cctx->ccm.key != &cctx->ks) in aria_ccm_ctrl() 627 cctx_out->ccm.key = &cctx_out->ks; in aria_ccm_ctrl() 641 CCM128_CONTEXT *ccm = &cctx->ccm; in aria_ccm_tls_cipher() local 655 if (CRYPTO_ccm128_setiv(ccm, ctx->iv, 15 - cctx->L, in aria_ccm_tls_cipher() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/clock/ |
| H A D | imx5-clock.yaml | 20 - fsl,imx53-ccm 21 - fsl,imx51-ccm 22 - fsl,imx50-ccm 28 description: CCM provides 2 interrupt requests, request 1 is to generate 32 - description: CCM interrupt request 1 33 - description: CCM interrupt request 2 52 compatible = "fsl,imx53-ccm";
|
| H A D | imx8m-clock.yaml | 20 - fsl,imx8mm-ccm 21 - fsl,imx8mn-ccm 22 - fsl,imx8mp-ccm 23 - fsl,imx8mq-ccm 58 const: fsl,imx8mq-ccm 105 compatible = "fsl,imx8mm-ccm"; 116 compatible = "fsl,imx8mq-ccm";
|
| H A D | imx6sl-clock.yaml | 15 const: fsl,imx6sl-ccm 21 description: CCM provides 2 interrupt requests, request 1 is to generate 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 45 compatible = "fsl,imx6sl-ccm";
|
| H A D | imx6sll-clock.yaml | 15 const: fsl,imx6sll-ccm 21 description: CCM provides 2 interrupt requests, request 1 is to generate 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 61 compatible = "fsl,imx6sll-ccm";
|
| H A D | imx6ul-clock.yaml | 15 const: fsl,imx6ul-ccm 21 description: CCM provides 2 interrupt requests, request 1 is to generate 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 61 compatible = "fsl,imx6ul-ccm";
|
| H A D | imx6sx-clock.yaml | 15 const: fsl,imx6sx-ccm 21 description: CCM provides 2 interrupt requests, request 1 is to generate 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 65 compatible = "fsl,imx6sx-ccm";
|
| H A D | imx6q-clock.yaml | 15 const: fsl,imx6q-ccm 21 description: CCM provides 2 interrupt requests, request 1 is to generate 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 69 compatible = "fsl,imx6q-ccm";
|
| H A D | imx31-clock.yaml | 81 const: fsl,imx31-ccm 87 description: CCM provides 2 interrupt requests, request 1 is to generate 91 - description: CCM DVFS interrupt request 1 92 - description: CCM DPTC interrupt request 2 108 compatible = "fsl,imx31-ccm";
|
| H A D | imx93-clock.yaml | 19 - fsl,imx93-ccm 26 specify the external clocks used by the CCM module. 34 specify the external clocks names used by the CCM module. 57 compatible = "fsl,imx93-ccm";
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_crypt_combos.ksh | 45 "encryption=aes-128-ccm" \ 46 "encryption=aes-192-ccm" \ 47 "encryption=aes-256-ccm" \ 53 "encryption=aes-128-ccm" \ 54 "encryption=aes-192-ccm" \ 55 "encryption=aes-256-ccm" \
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
| H A D | zfs_create_crypt_combos.ksh | 49 "encryption=aes-128-ccm" \ 50 "encryption=aes-192-ccm" \ 51 "encryption=aes-256-ccm" \ 58 "encryption=aes-128-ccm" \ 59 "encryption=aes-192-ccm" \ 60 "encryption=aes-256-ccm" \
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | aes-ccm.c | 2 * Counter with CBC-MAC (CCM) with AES 43 wpa_hexdump_key(MSG_EXCESSIVE, "CCM B_0", b, AES_BLOCK_SIZE); in aes_ccm_auth_start() 122 wpa_hexdump_key(MSG_EXCESSIVE, "CCM T", x, M); in aes_ccm_encr_auth() 128 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_encr_auth() 137 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_decr_auth() 143 wpa_hexdump_key(MSG_EXCESSIVE, "CCM T", t, M); in aes_ccm_decr_auth() 147 /* AES-CCM with fixed L=2 and aad_len <= 30 assumption */ 177 /* AES-CCM with fixed L=2 and aad_len <= 30 assumption */ 207 wpa_printf(MSG_EXCESSIVE, "CCM: Auth mismatch"); in aes_ccm_ad()
|
| /freebsd/contrib/bearssl/inc/ |
| H A D | bearssl_aead.h | 173 * The OOP API is not provided for CCM, due to its specific requirements 864 * \brief Context structure for CCM. 866 * CCM is an AEAD mode that combines a block cipher in CTR mode with 870 * - Any block cipher with 16-byte blocks can be used with CCM 890 * The CCM initialisation function receives as parameter an 893 * CCM context structure. It is up to the caller to allocate and 909 * \brief Initialize a CCM context. 914 * the provided context. The parameters are linked in the CCM context. 917 * be called, to provide the nonce for CCM computation. 919 * \param ctx CCM context structure. [all …]
|
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | EVP_CIPHER-ARIA.7 | 84 .IP """ARIA\-128\-CCM"", ""ARIA\-192\-CCM"" and ""ARIA\-256\-CCM""" 4 85 .IX Item """ARIA-128-CCM"", ""ARIA-192-CCM"" and ""ARIA-256-CCM"""
|
| /freebsd/sys/contrib/openzfs/module/icp/include/modes/ |
| H A D | modes.h | 93 * ccm_mac_len: Stores length of the MAC in CCM mode. 94 * ccm_mac_buf: Stores the intermediate value for MAC in CCM encrypt. 95 * In CCM decrypt, stores the input MAC value. 96 * ccm_data_len: Length of the plaintext for CCM mode encrypt, or 97 * length of the ciphertext for CCM mode decrypt. 99 * Length of processed plaintext in CCM mode encrypt, 100 * or length of processed ciphertext for CCM mode decrypt. 102 * Length of MAC data accumulated in CCM mode decrypt. 104 * ccm_pt_buf: Only used in CCM mode decrypt. It stores the
|
| /freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
| H A D | lac_sym_auth_enc.h | 14 * For CCM related code NIST SP 800-38C is followed. 21 /* This define for CCM describes constant sum of n and q */ 24 /* These defines for CCM describe maximum and minimum 48 * This function prepares param checks iv and aad for CCM 66 * This function prepares Ctr0 and B0-Bn blocks for CCM algorithm as described
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_crypto_ccmp.c | 76 .ic_name = "AES-CCM", 93 .ic_name = "AES-CCM-256", 161 * See RFC3610, Section 2 (CCM Mode Specification) for more 167 * CCM-128 - M=8, MIC is 8 octets. 168 * CCM-256 - M=16, MIC is 16 octets. 334 "%s", "missing ExtIV for AES-CCM cipher"); in ccmp_decap() 412 * @brief Initialise the AES-CCM nonce flag field in the b0 CCMP block. 415 * b0[0] is the CCM flags field, so the nonce used for B_0 starts at 416 * b0[1]. Amusingly, b0[1] is also flags, but it's the 802.11 AES-CCM 417 * nonce flags field, NOT the CCM flags field. [all …]
|