Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 1 of 1) sorted by relevance

/crypto/
Dccm.c69 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument
73 memset(block, 0, csize); in set_msg_len()
74 block += csize; in set_msg_len()
76 if (csize >= 4) in set_msg_len()
77 csize = 4; in set_msg_len()
78 else if (msglen > (1 << (8 * csize))) in set_msg_len()
82 memcpy(block - csize, (u8 *)&data + 4 - csize, csize); in set_msg_len()