Lines Matching refs:bdesc
276 struct BDESC_HEADER *bdesc = (struct BDESC_HEADER *)ptr;
280 be16_to_cpu(bdesc->offset_mac),
281 be16_to_cpu(bdesc->length_mac));
286 be16_to_cpu(bdesc->offset_crypto),
287 be16_to_cpu(bdesc->length_crypto));
292 be16_to_cpu(bdesc->offset_icv),
293 be16_to_cpu(bdesc->offset_iv));
594 struct BDESC_HEADER *bdesc;
784 bdesc = (struct BDESC_HEADER *)ptr;
786 bdesc->offset_mac = cpu_to_be16(auth_offset);
787 bdesc->length_mac = cpu_to_be16(auth_len);
788 bdesc->offset_crypto = cpu_to_be16(cipher_offset);
789 bdesc->length_crypto = cpu_to_be16(cipher_len);
798 bdesc->offset_icv = cpu_to_be16(auth_len);
799 bdesc->offset_iv = cpu_to_be16(offset_iv);
929 struct BDESC_HEADER *bdesc;
976 bdesc = (struct BDESC_HEADER *)bdesc_ptr;
977 bdesc->offset_mac = 0;
978 bdesc->length_mac = 0;
979 bdesc->offset_crypto = 0;
983 bdesc->length_crypto = cpu_to_be16(data_size +
986 bdesc->length_crypto = cpu_to_be16(data_size);
988 bdesc->offset_icv = 0;
989 bdesc->offset_iv = 0;