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

  /src/sys/opencrypto/
gmac.c 135 aes_enc(&ctx->K, (const void *)ctx->ghash.H, (void *)ctx->ghash.H,
139 ctx->ghash.H[i] = be64toh(ctx->ghash.H[i]);
142 ctx->ghash.H[i] = be32toh(ctx->ghash.H[i]);
162 ghash_update(&ctx->ghash, data, len - plen);
165 ghash_update(&ctx->ghash, blk, GMAC_BLOCK_LEN);
184 d[0] = (uint8_t)(ctx->ghash.S[i] >> 56) ^ k[0];
185 d[1] = (uint8_t)(ctx->ghash.S[i] >> 48) ^ k[1]
    [all...]
gmac.h 43 GHASH_CTX ghash; member in struct:_AES_GMAC_CTX

Completed in 14 milliseconds