Searched refs:NIST_BLOCK_OUTLEN_BYTES (Results 1 - 3 of 3) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/crypto/nist_ctr_drbg/
H A Dnist_ctr_drbg_aes128.h61 #define NIST_BLOCK_OUTLEN_BYTES (NIST_BLOCK_OUTLEN / 8) macro
62 #define NIST_BLOCK_OUTLEN_INTS (NIST_BLOCK_OUTLEN_BYTES / sizeof(int))
63 #define NIST_BLOCK_OUTLEN_LONGS (NIST_BLOCK_OUTLEN_BYTES / sizeof(long))
H A Dnist_ctr_drbg_aes256.h61 #define NIST_BLOCK_OUTLEN_BYTES (NIST_BLOCK_OUTLEN / 8) macro
62 #define NIST_BLOCK_OUTLEN_INTS (NIST_BLOCK_OUTLEN_BYTES / sizeof(int))
63 #define NIST_BLOCK_OUTLEN_LONGS (NIST_BLOCK_OUTLEN_BYTES / sizeof(long))
H A Dnist_ctr_drbg.c65 static unsigned char nist_cipher_df_encrypted_iv[NIST_BLOCK_SEEDLEN / NIST_BLOCK_OUTLEN][NIST_BLOCK_OUTLEN_BYTES];
138 memset(&chaining_value[0], 0, NIST_BLOCK_OUTLEN_BYTES);
150 unsigned char S[NIST_BLOCK_OUTLEN_BYTES];
185 KASSERT(index < NIST_BLOCK_OUTLEN_BYTES);
186 len = NIST_BLOCK_OUTLEN_BYTES - index;
196 if (index < NIST_BLOCK_OUTLEN_BYTES) {
210 len = input_string_length / NIST_BLOCK_OUTLEN_BYTES;
218 input_string += len * NIST_BLOCK_OUTLEN_BYTES;
219 input_string_length -= len * NIST_BLOCK_OUTLEN_BYTES;
223 NIST_BLOCK_OUTLEN_BYTES);
[all...]

Completed in 99 milliseconds