Searched refs:WORDS2BYTES (Results 1 – 1 of 1) sorted by relevance
17 #define WORDS2BYTES(words) ((words) * sizeof(u32)) macro57 memset(bn->data, 0x00, WORDS2BYTES(bn->n_words)); in rk_bn_free()85 if (size < WORDS2BYTES(bn->n_words)) in rk_bn_get_data()91 memcpy(data + size - WORDS2BYTES(bn->n_words), bn->data, bn->n_words); in rk_bn_get_data()93 rk_reverse_memcpy(data + size - WORDS2BYTES(bn->n_words), in rk_bn_get_data()94 bn->data, WORDS2BYTES(bn->n_words)); in rk_bn_get_data()104 return WORDS2BYTES(bn->n_words); in rk_bn_get_size()