Changeset View
Changeset View
Standalone View
Standalone View
sys/crypto/ccp/ccp.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
/* | /* | ||||
* XXX: The hmac.res, gmac.final_block, and blkcipher.iv fields are | * XXX: The hmac.res, gmac.final_block, and blkcipher.iv fields are | ||||
* used by individual requests meaning that sessions cannot have more | * used by individual requests meaning that sessions cannot have more | ||||
* than a single request in flight at a time. | * than a single request in flight at a time. | ||||
*/ | */ | ||||
struct ccp_session_hmac { | struct ccp_session_hmac { | ||||
struct auth_hash *auth_hash; | const struct auth_hash *auth_hash; | ||||
int hash_len; | int hash_len; | ||||
unsigned int auth_mode; | unsigned int auth_mode; | ||||
char ipad[CCP_HASH_MAX_BLOCK_SIZE]; | char ipad[CCP_HASH_MAX_BLOCK_SIZE]; | ||||
char opad[CCP_HASH_MAX_BLOCK_SIZE]; | char opad[CCP_HASH_MAX_BLOCK_SIZE]; | ||||
char res[CCP_HASH_MAX_BLOCK_SIZE]; | char res[CCP_HASH_MAX_BLOCK_SIZE]; | ||||
}; | }; | ||||
struct ccp_session_gmac { | struct ccp_session_gmac { | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |