HomeSort by: relevance | last modified time | path
    Searched refs:GMAC_BLOCK_LEN (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/opencrypto/
gmac.h 25 #define GMAC_BLOCK_LEN 16
37 GMAC_INT H[GMAC_BLOCK_LEN/GMAC_INTLEN]; /* hash subkey */
38 GMAC_INT S[GMAC_BLOCK_LEN/GMAC_INTLEN]; /* state */
39 GMAC_INT Z[GMAC_BLOCK_LEN/GMAC_INTLEN]; /* initial state */
45 uint8_t J[GMAC_BLOCK_LEN]; /* counter block */
gmac.c 40 GMAC_INT v[GMAC_BLOCK_LEN/GMAC_INTLEN];
44 memcpy(v, Y, GMAC_BLOCK_LEN);
45 memset(product, 0, GMAC_BLOCK_LEN);
47 for (i = 0; i < GMAC_BLOCK_LEN * 8; i++) {
85 for (i = 0; i < len / GMAC_BLOCK_LEN; i++) {
86 for (j = 0; j < GMAC_BLOCK_LEN/GMAC_INTLEN; j++) {
101 memcpy(ctx->Z, ctx->S, GMAC_BLOCK_LEN);
160 plen = len % GMAC_BLOCK_LEN;
161 if (len >= GMAC_BLOCK_LEN)
165 ghash_update(&ctx->ghash, blk, GMAC_BLOCK_LEN);
    [all...]

Completed in 157 milliseconds