/openbsd-current/lib/libcrypto/modes/ |
H A D | ccm128.c | 119 (*block)(ctx->nonce.c, ctx->cmac.c, ctx->key), 123 ctx->cmac.c[0] ^= (u8)(alen >> 8); 124 ctx->cmac.c[1] ^= (u8)alen; 128 ctx->cmac.c[0] ^= 0xFF; 129 ctx->cmac.c[1] ^= 0xFF; 130 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen)*8))); 131 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen)*8))); 132 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen)*8))); 133 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen)*8))); 134 ctx->cmac [all...] |
H A D | modes_local.h | 115 } nonce, cmac; member in struct:ccm128_context
|
H A D | modes.h | 29 const unsigned char ivec[16], unsigned char cmac[16]);
|
/openbsd-current/regress/sys/crypto/ |
H A D | Makefile | 3 SUBDIR+= cmac
|
/openbsd-current/lib/libcrypto/cmac/ |
H A D | cm_ameth.c | 56 #include <openssl/cmac.h>
|
H A D | cm_pmeth.c | 57 #include <openssl/cmac.h>
|
H A D | cmac.c | 1 /* $OpenBSD: cmac.c,v 1.24 2024/05/20 14:53:37 tb Exp $ */ 58 #include <openssl/cmac.h>
|
/openbsd-current/lib/libcrypto/hidden/openssl/ |
H A D | cmac.h | 1 /* $OpenBSD: cmac.h,v 1.2 2024/03/02 09:30:21 tb Exp $ */ 22 #include_next <openssl/cmac.h> 24 #include "../include/openssl/cmac.h"
|
/openbsd-current/sys/net80211/ |
H A D | ieee80211_crypto_bip.c | 44 #include <crypto/cmac.h> 48 AES_CMAC_CTX cmac; member in struct:ieee80211_bip_ctx 63 AES_CMAC_SetKey(&ctx->cmac, k->k_key); 111 AES_CMAC_Init(&ctx->cmac); 112 AES_CMAC_Update(&ctx->cmac, (u_int8_t *)&aad, sizeof aad); 113 AES_CMAC_Update(&ctx->cmac, (u_int8_t *)&wh[1], 134 AES_CMAC_Update(&ctx->cmac, mmie, IEEE80211_MMIE_LEN); 135 AES_CMAC_Final(mic, &ctx->cmac); 195 AES_CMAC_Init(&ctx->cmac); 196 AES_CMAC_Update(&ctx->cmac, (u_int8_ [all...] |
H A D | ieee80211_crypto.c | 46 #include <crypto/cmac.h> 457 AES_CMAC_CTX cmac; member in union:_ANY_CTX 488 AES_CMAC_Init(&ctx.cmac); 489 AES_CMAC_SetKey(&ctx.cmac, kck); 490 AES_CMAC_Update(&ctx.cmac, (u_int8_t *)key, len); 491 AES_CMAC_Final(key->mic, &ctx.cmac);
|
/openbsd-current/regress/sys/crypto/cmac/ |
H A D | Makefile | 6 SRCS+= aes.c cmac.c cmac_test.c
|
H A D | cmac_test.c | 19 #include <crypto/cmac.h>
|
/openbsd-current/sys/crypto/ |
H A D | cmac.c | 1 /* $OpenBSD: cmac.c,v 1.3 2017/05/02 17:07:06 mikeb Exp $ */ 28 #include <crypto/cmac.h>
|
/openbsd-current/lib/libcrypto/aes/asm/ |
H A D | aesni-x86.pl | 580 # const char *ivec,char *cmac); 586 { my $cmac=$inout1; 600 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac 633 &xorps ($cmac,$rndkey0); # cmac^=inp 639 &aesenc ($cmac,$rndkey1); 643 &aesenc ($cmac,$rndkey0); 647 &aesenc ($cmac,$rndkey1); 650 &aesenclast ($cmac, [all...] |
H A D | aesni-x86_64.pl | 828 # const char *ivec,char *cmac); 835 my $cmac="%r9"; # 6th argument 863 movdqu ($cmac),$inout1 878 xorps $rndkey0,$inout1 # cmac^=inp 906 movups $inout1,($cmac) 939 movdqu ($cmac),$inout1 972 xorps $in0,$inout1 # cmac^=out 996 #xorps $in0,$inout1 # cmac^=out 1000 movups $inout1,($cmac)
|
/openbsd-current/lib/libcrypto/ |
H A D | Makefile | 212 # cmac/ 215 SRCS+= cmac.c 621 ${LCRYPTO_SRC}/cmac \ 679 ${LCRYPTO_SRC}/cmac/cmac.h \
|
/openbsd-current/lib/libcrypto/evp/ |
H A D | p_lib.c | 112 #include <openssl/cmac.h>
|
H A D | e_aes.c | 195 unsigned char cmac[16]); 199 unsigned char cmac[16]);
|
/openbsd-current/regress/usr.bin/openssl/ |
H A D | appstest.sh | 197 $openssl_bin dgst -$d -r -mac cmac -macopt cipher:aes-128-cbc \ 198 -macopt hexkey:$cmac_key -out $dgstdat.$d.cmac $dgstdat
|