Lines Matching refs:bdesc
277 struct BDESC_HEADER *bdesc = (struct BDESC_HEADER *)ptr;
281 be16_to_cpu(bdesc->offset_mac),
282 be16_to_cpu(bdesc->length_mac));
287 be16_to_cpu(bdesc->offset_crypto),
288 be16_to_cpu(bdesc->length_crypto));
293 be16_to_cpu(bdesc->offset_icv),
294 be16_to_cpu(bdesc->offset_iv));
596 struct BDESC_HEADER *bdesc;
786 bdesc = (struct BDESC_HEADER *)ptr;
788 bdesc->offset_mac = cpu_to_be16(auth_offset);
789 bdesc->length_mac = cpu_to_be16(auth_len);
790 bdesc->offset_crypto = cpu_to_be16(cipher_offset);
791 bdesc->length_crypto = cpu_to_be16(cipher_len);
800 bdesc->offset_icv = cpu_to_be16(auth_len);
801 bdesc->offset_iv = cpu_to_be16(offset_iv);
931 struct BDESC_HEADER *bdesc;
978 bdesc = (struct BDESC_HEADER *)bdesc_ptr;
979 bdesc->offset_mac = 0;
980 bdesc->length_mac = 0;
981 bdesc->offset_crypto = 0;
985 bdesc->length_crypto = cpu_to_be16(data_size +
988 bdesc->length_crypto = cpu_to_be16(data_size);
990 bdesc->offset_icv = 0;
991 bdesc->offset_iv = 0;