/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/encauth/ccm/ |
H A D | ccm_add_nonce.c | 21 const unsigned char *nonce, unsigned long noncelen) in ccm_add_nonce() argument 30 ccm->noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_add_nonce() 31 if ((15 - ccm->noncelen) > ccm->L) { in ccm_add_nonce() 32 ccm->L = 15 - ccm->noncelen; in ccm_add_nonce() 36 if ((ccm->noncelen + ccm->L) > 15) { in ccm_add_nonce() 37 ccm->noncelen = 15 - ccm->L; in ccm_add_nonce()
|
H A D | ccm_test.c | 26 int noncelen; in ccm_test() 141 tests[x].nonce, tests[x].noncelen, in ccm_test() 152 tests[x].nonce, tests[x].noncelen, in ccm_test() 163 if ((err = ccm_add_nonce(&ccm, tests[x].nonce, tests[x].noncelen)) != CRYPT_OK) { in ccm_test() 190 tests[x].nonce, tests[x].noncelen, in ccm_test() 201 if ((err = ccm_add_nonce(&ccm, tests[x].nonce, tests[x].noncelen)) != CRYPT_OK) { in ccm_test() 227 tests[x].nonce, tests[x].noncelen, in ccm_test()
|
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/encauth/ccm/ |
H A D | ccm_add_nonce.c | 21 const unsigned char *nonce, unsigned long noncelen) in ccm_add_aad() 30 ccm->noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_add_aad() 31 if ((15 - ccm->noncelen) > ccm->L) { in ccm_add_aad() 32 ccm->L = 15 - ccm->noncelen; in ccm_add_aad() 36 if ((ccm->noncelen + ccm->L) > 15) { in ccm_add_aad() 37 ccm->noncelen = 15 - ccm->L; in ccm_add_aad()
|
H A D | ccm_test.c | 26 int noncelen; in ccm_test() 141 tests[x].nonce, tests[x].noncelen, in ccm_test() 152 tests[x].nonce, tests[x].noncelen, in ccm_test() 163 if ((err = ccm_add_nonce(&ccm, tests[x].nonce, tests[x].noncelen)) != CRYPT_OK) { in ccm_test() 190 tests[x].nonce, tests[x].noncelen, in ccm_test() 201 if ((err = ccm_add_nonce(&ccm, tests[x].nonce, tests[x].noncelen)) != CRYPT_OK) { in ccm_test() 227 tests[x].nonce, tests[x].noncelen, in ccm_test()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/libtomcrypt/src/encauth/ccm/ |
H A D | ccm_add_nonce.c | 23 const unsigned char *nonce, unsigned long noncelen) in ccm_add_nonce() argument 32 ccm->noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_add_nonce() 33 if ((15 - ccm->noncelen) > ccm->L) { in ccm_add_nonce() 34 ccm->L = 15 - ccm->noncelen; in ccm_add_nonce() 38 if ((ccm->noncelen + ccm->L) > 15) { in ccm_add_nonce() 39 ccm->noncelen = 15 - ccm->L; in ccm_add_nonce()
|
H A D | ccm_memory_ex.c | 41 const unsigned char *nonce, unsigned long noncelen, in ccm_memory_ex() argument 98 nonce, noncelen, in ccm_memory_ex() 118 noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_memory_ex() 119 if ((15 - noncelen) > L) { in ccm_memory_ex() 120 L = 15 - noncelen; in ccm_memory_ex() 124 if ((noncelen + L) > 15) { in ccm_memory_ex() 125 noncelen = 15 - L; in ccm_memory_ex()
|
H A D | ccm_memory.c | 44 const unsigned char *nonce, unsigned long noncelen, in ccm_memory() argument 105 nonce, noncelen, in ccm_memory() 125 noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_memory() 126 if ((15 - noncelen) > L) { in ccm_memory() 127 L = 15 - noncelen; in ccm_memory() 131 if ((noncelen + L) > 15) { in ccm_memory() 132 noncelen = 15 - L; in ccm_memory()
|
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/encauth/ccm/ |
H A D | ccm_add_nonce.c | 15 const unsigned char *nonce, unsigned long noncelen) in ccm_add_nonce() argument 24 ccm->noncelen = (noncelen > 13) ? 13 : noncelen; in ccm_add_nonce() 25 if ((15 - ccm->noncelen) > ccm->L) { in ccm_add_nonce() 26 ccm->L = 15 - ccm->noncelen; in ccm_add_nonce() 33 if ((ccm->noncelen + ccm->L) > 15) { in ccm_add_nonce() 34 ccm->noncelen = 15 - ccm->L; in ccm_add_nonce()
|
H A D | ccm_memory.c | 36 const unsigned char *nonce, unsigned long noncelen, in cpu_get_model() 87 nonce, noncelen, in cpu_get_model() 107 noncelen = (noncelen > 13) ? 13 : noncelen; in cpu_get_model() 108 if ((15 - noncelen) > L) { in cpu_get_model() 109 L = 15 - noncelen; in cpu_get_model()
|
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/encauth/ocb3/ |
H A D | ocb3_init.c | 18 …_offset_zero(ocb3_state *ocb, const unsigned char *nonce, unsigned long noncelen, unsigned long ta… in _ocb3_int_calc_offset_zero() argument 28 for (x = ocb->block_len-1, y=0; y<(int)noncelen; x--, y++) { in _ocb3_int_calc_offset_zero() 29 iNonce[x] = nonce[noncelen-y-1]; in _ocb3_int_calc_offset_zero() 90 const unsigned char *nonce, unsigned long noncelen, in ocb3_init() argument 108 if (noncelen > (120/8)) { in ocb3_init() 175 _ocb3_int_calc_offset_zero(ocb, nonce, noncelen, taglen); in ocb3_init()
|
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/encauth/ocb3/ |
H A D | ocb3_init.c | 18 …_offset_zero(ocb3_state *ocb, const unsigned char *nonce, unsigned long noncelen, unsigned long ta… in _ocb3_int_calc_offset_zero() argument 28 for (x = ocb->block_len-1, y=0; y<(int)noncelen; x--, y++) { in _ocb3_int_calc_offset_zero() 29 iNonce[x] = nonce[noncelen-y-1]; in _ocb3_int_calc_offset_zero() 90 const unsigned char *nonce, unsigned long noncelen, in ocb3_init() argument 108 if (noncelen > (120/8)) { in ocb3_init() 175 _ocb3_int_calc_offset_zero(ocb, nonce, noncelen, taglen); in ocb3_init()
|
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/encauth/ocb3/ |
H A D | ocb3_init.c | 12 …_offset_zero(ocb3_state *ocb, const unsigned char *nonce, unsigned long noncelen, unsigned long ta… 22 for (x = ocb->block_len-1, y=0; y<(int)noncelen; x--, y++) { 23 iNonce[x] = nonce[noncelen-y-1]; 84 const unsigned char *nonce, unsigned long noncelen, 102 if (noncelen > (120/8)) { 169 s_ocb3_int_calc_offset_zero(ocb, nonce, noncelen, taglen);
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/libtomcrypt/src/headers/ |
H A D | tomcrypt_mac.h | 112 const unsigned char *nonce, unsigned long noncelen, 122 const unsigned char *nonce, unsigned long noncelen, 130 const unsigned char *nonce, unsigned long noncelen, 221 const unsigned char *nonce, unsigned long noncelen); 232 const unsigned char *nonce, unsigned long noncelen, 240 const unsigned char *nonce, unsigned long noncelen, 251 void ocb3_int_calc_offset_zero(ocb3_state *ocb, const unsigned char *nonce, unsigned long noncelen); 273 noncelen; /* length of the nonce */ member 287 const unsigned char *nonce, unsigned long noncelen); 303 const unsigned char *nonce, unsigned long noncelen, [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/security/openssl/openssl-1.1.1n/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/security/openssl-static/openssl-1.1.1l/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/ |
H A D | drbg_cavs_test.c | 30 size_t noncelen; member 52 return t->noncelen; in kat_nonce() 89 t.noncelen = td->noncelen; in single_kat_no_reseed() 148 t.noncelen = td->noncelen; in single_kat_pr_false() 210 t.noncelen = td->noncelen; in single_kat_pr_true()
|
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/ |
H A D | nts_extens.c | 131 int noncelen, cmaclen; in extens_server_recv() local 214 noncelen = next_uint16(&buf); in extens_server_recv() 216 if (noncelen & 3) { in extens_server_recv() 228 nonce, noncelen, in extens_server_recv() 367 int length, adlength, noncelen; in extens_client_recv() local 405 noncelen = next_uint16(&buf); in extens_client_recv() 407 if (noncelen&3 || outlen&3) in extens_client_recv() 410 ciphertext = nonce+noncelen; in extens_client_recv() 417 nonce, noncelen, in extens_client_recv()
|